Learn R Programming

rAmCharts (version 2.0.2)

Generics functions: General shared generic methods

Description

These methods are shared by at least two different classes

Usage

setBalloon(.Object, amBalloon = NULL, ...)
setDataProvider(.Object, dataProvider, keepNA = TRUE)
setTitle(.Object, title)
setType(.Object, type)
setGraph(.Object, graph = NULL, ...)
addGuide(.Object, guide = NULL, ...)
setText(.Object, text)
setValueAxis(.Object, valueAxis = NULL, ...)

Arguments

.Object
AmObject.
amBalloon
AmBalloon.
...
Other properties.
dataProvider
data.frame.
keepNA
logical, default set to TRUE. Indicates if NULL values have to be kept or ignored.
title
character.
type
character.
graph
AmGraph.
guide
Guide.
text
character.
valueAxis
ValueAxis.

Value

An updated 'AmObject'.

Details

Be cautious when using one of these functions since they have several signatures (S4).

setBalloon is shared by AmChart and AmStockChart.

setDataProvider(..) is shared by AmGraph and DataSet.

setTitle(...) is Shared by AmGraph and ValueAxis.

setType(...) is shared by AmGraph and AmChart.

setGraph(...) is shared by AmChart and ChartScrollbar.

addGuide(...) is shared by AxisBase and AmChart.

setText(...) is shared by Title and Label.

setValueAxis(...) is shared by AmChart(type = "gantt"), TrendLine and Guide.